package com.cuckoo.mall.thus.order.addorder;

import android.content.Context;

import com.bgn.baseframe.base.BasePresenter;
import com.bgn.baseframe.base.BaseView;
import com.cuckoo.mall.javabean.CreateOrderParms;
import com.cuckoo.mall.javabean.OrderResult;
import com.cuckoo.mall.javabean.Ticket;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class AddorderContract {
    interface View extends BaseView {
        void whenCreateOrderSucceed(OrderResult result);
        void whenGetTicketInfo(Ticket ticket);
    }

    interface Presenter extends BasePresenter<View> {
        void createOrder(CreateOrderParms parms);
        void createOrderByProduc(CreateOrderParms parms);
        void checkTicketInfo();
    }


}
